gen=(x for x in range(5))
type(gen)
next(gen)
next(gen)
next(gen)
next(gen)
next(gen)
# next(gen)
gen=(x for x in range(5))
for i in gen:
    print(i)
